/*
 * io.h
 *
 *  Created on: 2016-2-27
 *      Author: ZhangXiyin
 */

#ifndef EYAS_SOURCES_IO_IO_H_
#define EYAS_SOURCES_IO_IO_H_

#include "buffer/iobuffer.h"

#include "conf/def.h"
#include "socket/tcp/tcp_client.h"
#include "socket/tcp/tcp_server.h"
#include "socket/tcp/tcp_connection.h"

#include "base/connection_base.hpp"
#include "base/connection_handler_base.hpp"
#include "base/data_handler_base.hpp"
#include "base/packet_base.hpp"
#include "base/packet_factory_base.h"
#include "base/writer_base.hpp"

namespace eyas {
namespace io {

void init();
void clean();


tcp_client_ptr create_tcp_client();
tcp_server_ptr create_tcp_server();

}
}

#endif /* EYAS_SOURCES_IO_IO_H_ */
